package org.example.mapper;

import org.example.pojo.entity.SysRegion;

import java.util.List;

public interface SysRegionMapper {
    int deleteByPrimaryKey(String id);

    int insert(SysRegion record);

    int insertSelective(SysRegion record);
    List<SysRegion> selectByName(String name);

    SysRegion selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysRegion record);

    int updateByPrimaryKey(SysRegion record);
    List<SysRegion> selectAll();
    List<SysRegion> selectByParentId(String parentId);
    List<SysRegion> selectByLevel(Short level);
}